package com.imooc.netty.websocket;

import com.imooc.pojo.ChatMsg;

import java.io.Serializable;

public class DataContent implements Serializable {

    private static final long serizalVersionUID = 8021381444738260454L;

    private ChatMsg chatMsg ;

    private Integer action ;   // 动作类型

    private String extend ;

    public ChatMsg getChatMsg() {
        return chatMsg;
    }

    public void setChatMsg(ChatMsg chatMsg) {
        this.chatMsg = chatMsg;
    }

    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }

    public String getExtend() {
        return extend;
    }

    public void setExtend(String extend) {
        this.extend = extend;
    }


}
